package com.hjw.client;

import com.hjw.entity.User;
import com.hjw.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "wyl-myuser",fallback = UserClientHandler.class)
public interface UserClient {
    @RequestMapping("/user/list") R<List<User>> list();
}
